#include<stdio.h>
int n;
int f(int a[])
{
	int x=0,y=0,i;
	for(i=0;i<n;i++)
	{
		if (a[i]%2==0)
		y+=a[i];
		else 
		x+=a[i];
	}
	return x-y;
}
main(){
	int a[]={1,2,3};
	n=sizeof(a)/sizeof(int);
	printf("%d",f(a));
}